import Router from 'vue-router'
import Vue from 'vue/dist/vue.js';
import HelloWorld from '../components/01openlayers入门/HelloWorld'
import MapDesc from '../components/01openlayers入门/MapDesc'
import ViewDesc from '../components/01openlayers入门/ViewDesc'
import ZoomControl from '../components/02openlayes常用控件/01ZoomControl'
import BaseOperation from '../components/02openlayes常用控件/02BaseOperation'
import LayerControl from '../components/02openlayes常用控件/03LayerControl'
import PositionControl from '../components/02openlayes常用控件/04PositionControl'
import OverViewControl from '../components/02openlayes常用控件/05OverViewControl'
import FullScreenControl from '../components/02openlayes常用控件/06FullScreenControl'
import MeasureControl from '../components/02openlayes常用控件/07MeasureControl'
import AnimateControl from '../components/02openlayes常用控件/08AnimateControl'
import ScaleLineControl from '../components/02openlayes常用控件/09ScaleLineControl'
import LayerSearchControl from '../components/02openlayes常用控件/10LayerSearchControl'
import ImageLayer from '../components/03openlayers各种数据/01ImageLayer'
import TileLayer from '../components/03openlayers各种数据/02TileLayer'
import VectorFeatureLayer from '../components/03openlayers各种数据/03VectorFeatureLayer'
import VectorFormatLayer from '../components/03openlayers各种数据/04VectorFormatLayer'
import VectorTileLayer from '../components/03openlayers各种数据/05VectorTileLayer'
import VectorTileDebug from '../components/03openlayers各种数据/06VectorTileDebug'
import GaoDeMap from '../components/03openlayers各种数据/07GaoDeMap'
import TianDiMap from '../components/03openlayers各种数据/08TianDiMap'
import BingMap from '../components/03openlayers各种数据/09BingMap'
import ArcgisTileLayer from '../components/03openlayers各种数据/10ArcgisTileLayer'
import GeojsonLayer from '../components/03openlayers各种数据/11GeojsonLayer'
import TopojsonLayer from '../components/03openlayers各种数据/12TopojsonLayer'
import EsrijsonLayer from '../components/03openlayers各种数据/13EsrijsonLayer'
import WktLayer from '../components/03openlayers各种数据/14WktLayer'
import WkbLayer from '../components/03openlayers各种数据/15WkbLayer'
import XmlLayer from '../components/03openlayers各种数据/16XmlLayer'
import KmlLayer from '../components/03openlayers各种数据/17KmlLayer'
import GmlLayer from '../components/03openlayers各种数据/18GmlLayer'
import GPXLayer from '../components/03openlayers各种数据/19GPXLayer'
import MapInteraction from '../components/04openlayers地图交互/01MapInteraction'
import DrawInteraction from '../components/04openlayers地图交互/02DrawInteraction'
import SelectInteraction from '../components/04openlayers地图交互/03SelectInteraction'
import ModifyInteraction from '../components/04openlayers地图交互/04ModifyInteraction'
import SnapInteraction from '../components/04openlayers地图交互/05SnapInteraction'
import ExtentInteraction from '../components/04openlayers地图交互/06ExtentInteraction'
import PointerInteraction from '../components/04openlayers地图交互/07PointerInteraction'
import TranslateInteraction from '../components/04openlayers地图交互/08TranslateInteraction'
import DragBoxInteraction from '../components/04openlayers地图交互/09DragBoxInteraction'
import DragPanInteraction from '../components/04openlayers地图交互/10DragPanInteraction'
import DragAndDropInteraction from '../components/04openlayers地图交互/11DragAndDropInteraction'
import KeyboardPanInteraction from '../components/04openlayers地图交互/12KeyboardPanInteraction'
import KeyboardZoomInteraction from '../components/04openlayers地图交互/17KeyboardZoomInteraction'
import DragRotateInteraction from '../components/04openlayers地图交互/13DragRotateInteraction'
import DragZoomInteraction from '../components/04openlayers地图交互/14DragZoomInteraction'
import MouseWheelZoomInteraction from '../components/04openlayers地图交互/15MouseWheelZoomInteraction'
import DoubleClickZoomInteraction from '../components/04openlayers地图交互/16DoubleClickZoomInteraction'
import DragRotateAndZoomInteraction from '../components/04openlayers地图交互/18DragRotateAndZoomInteraction'
import WMS from '../components/05openlayers的OGC服务/01WMS'
import WCS from '../components/05openlayers的OGC服务/02WCS'
import WMTS from '../components/05openlayers的OGC服务/03WMTS'
import WFS from '../components/05openlayers的OGC服务/04WFS'
import FilterBbox from '../components/06openlayers的过滤器/01FilterBbox'
import FilterContains from '../components/06openlayers的过滤器/02FilterContains'
import FilterIntersects from '../components/06openlayers的过滤器/03FilterIntersects'
import FilterDisjoint from '../components/06openlayers的过滤器/04FilterDisjoint'
import FilterDwithin from '../components/06openlayers的过滤器/05FilterDwithin'
import FilterWithin from '../components/06openlayers的过滤器/06FilterWithIn'
import FilterBetween from '../components/06openlayers的过滤器/07FilterBetween'
import FilterDuring from '../components/06openlayers的过滤器/08FilterDuring'
import FilterEqualTo from '../components/06openlayers的过滤器/09FilterEqualTo'
import FilterGreaterThan from '../components/06openlayers的过滤器/10FilterGreaterThan'
import FilterIsNull from '../components/06openlayers的过滤器/11FilterIsNull'
import FilterLessThan from '../components/06openlayers的过滤器/12FilterLessThan'
import FilterLike from '../components/06openlayers的过滤器/13FilterLike'
import FilterAnd from '../components/06openlayers的过滤器/14FilterAnd'
import FilterNot from '../components/06openlayers的过滤器/15FilterNot'
import FilterOr from '../components/06openlayers的过滤器/16FilterOr'
import VectorStyleLayer from '../components/07openlayers样式配置/01VectorStyleLayer'
import VectorGeometryLayer from '../components/07openlayers样式配置/02VectorGeometryLayer'
import VectorFileLayer from '../components/07openlayers样式配置/03VectorFillLayer'
import VectorIconLayer from '../components/07openlayers样式配置/04VectorIconLayer'
import VectorTextLayer from '../components/07openlayers样式配置/05VectorTextLayer'
import VectorCircleLayer from '../components/07openlayers样式配置/06VectorCircleLayer'
import VectorStrokeLayer from '../components/07openlayers样式配置/07VectorStrokeLayer'
import VectorRegularShapeLayer from '../components/07openlayers样式配置/08VectorRegularShapeLayer'
import VectorRegularShapeLayer2 from '../components/07openlayers样式配置/09VectorRegularShapeLayer2'
import ProjectTransform from '../components/08openlayes投影转换/01ProjectTransform'
import ProjectTransformMethod from '../components/08openlayes投影转换/02ProjectTransformMethod'
import PictureMarker from '../components/09openlayers高级功能/01PictureMarker'
import PopupWindow from '../components/09openlayers高级功能/02PopupWindow'
import MultiView from '../components/09openlayers高级功能/03MultiView'
import GeoLocation from '../components/09openlayers高级功能/04GeoLocation'
import HeatMap from '../components/09openlayers高级功能/05HeatMap'
import MilitarySignDrawing from '../components/09openlayers高级功能/06MilitarySignDrawing'
import CanvasTileLayer from '../components/10openlayers之render/canvas/01CanvasTileLayer'
import CanvasRendererGeometryLayer from '../components/10openlayers之render/canvas/02CanvasRendererGeometryLayer'
import CanvasPointsSpriteLayer from '../components/10openlayers之render/canvas/03CanvasPointsSpriteLayer'
import CanvasRendererImageLayer from '../components/10openlayers之render/canvas/04CanvasRendererImageLayer'
import WebGLTileLayer from '../components/10openlayers之render/webgl/01WebGLTileLayer'
import WebGLTileStyleLayer from '../components/10openlayers之render/webgl/02WebGLTileStyleLayer'
import WebGLPointsSpriteLayer from '../components/10openlayers之render/webgl/03WebGLPointsSpriteLayer'
import ProjectScatterDiagram from '../components/11openlayers项目实战/01echarts/01ProjectScatterDiagram'
import ProjectMigrationMap from '../components/11openlayers项目实战/01echarts/02ProjectMigrationMap'
import ProjectAirQuality from '../components/11openlayers项目实战/01echarts/03ProjectAirQuality'
import ProjectOlCesium from '../components/11openlayers项目实战/02cesium/01ProjectOlCesium'
import ProjectWindLayer from '../components/11openlayers项目实战/03wind/01ProjectWindLayer'
import ProjectGeoServerWMS from '../components/11openlayers项目实战/04geoserver/01ProjectGeoServerWMS'
import ProjectGeoServerWMTS from '../components/11openlayers项目实战/04geoserver/02ProjectGeoServerWMTS'
import ProjectGeoServerWFS from '../components/11openlayers项目实战/04geoserver/03ProjectGeoServerWFS'
import ProjectIntersectAnalysis from '../components/11openlayers项目实战/05turf/01ProjectIntersectAnalysis'
import ProjectDifferenceAnalysis from '../components/11openlayers项目实战/05turf/02ProjectDifferenceAnalysis'
import ProjectUnionAnalysis from '../components/11openlayers项目实战/05turf/03ProjectUnionAnalysis'
import ProjectGeometryBuffer from '../components/11openlayers项目实战/05turf/04ProjectGeometryBuffer'
import ProjectDynamicBuffer from '../components/11openlayers项目实战/05turf/05ProjectDynamicBuffer'
import ProjectBackCoverLayer from '../components/11openlayers项目实战/06others/02ProjectBackCoverLayer'
import ProjectFrontCoverLayer from '../components/11openlayers项目实战/06others/01ProjectFrontCoverLayer'
import ProjectTrackPlay from '../components/11openlayers项目实战/06others/03ProjectTrackPlay'
import ProjectExportLayer from '../components/11openlayers项目实战/06others/04ProjectExportLayer'
import ProjectExportPDF from '../components/11openlayers项目实战/06others/05ProjectExportPDF'
import ProjectDynamicCircle from '../components/11openlayers项目实战/06others/06ProjectDynamicCircle'
import ProjectKriging from '../components/11openlayers项目实战/06others/07ProjectKriging'
import ProjectLayerSwipe from '../components/11openlayers项目实战/06others/08ProjectLayerSwipe'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/introduction/hello',
            component: HelloWorld
        },
        {
            path: '/introduction/map',
            component: MapDesc
        },
        {
            path: '/introduction/view',
            component: ViewDesc
        },
        {
            path: '/control/zoom',
            component: ZoomControl
        },
        {
            path: '/control/operate',
            component: BaseOperation
        },
        {
            path: '/control/layer',
            component: LayerControl
        },
        {
            path: '/control/position',
            component: PositionControl
        },
        {
            path: '/control/overview',
            component: OverViewControl
        },
        {
            path: '/control/fullscreen',
            component: FullScreenControl
        },
        {
            path: '/control/measure',
            component: MeasureControl
        },
        {
            path: '/control/animation',
            component: AnimateControl
        },
        {
            path: '/control/scaleline',
            component: ScaleLineControl
        },
        {
            path: '/control/layersearch',
            component: LayerSearchControl
        },
        {
            path: '/layer/image',
            component: ImageLayer
        }, {
            path: '/layer/tile',
            component: TileLayer
        }, {
            path: '/layer/vector1',
            component: VectorFeatureLayer
        }, {
            path: '/layer/vector2',
            component: VectorFormatLayer
        }, {
            path: '/layer/vector/tile',
            component: VectorTileLayer
        }, {
            path: '/layer/debug',
            component: VectorTileDebug
        }, {
            path: '/layer/tdt',
            component: TianDiMap
        }, {
            path: '/layer/gd',
            component: GaoDeMap
        }, {
            path: '/layer/bing',
            component: BingMap
        }, {
            path: '/layer/arcgis',
            component: ArcgisTileLayer
        }, {
            path: '/layer/geojson',
            component: GeojsonLayer
        }, {
            path: '/layer/topojson',
            component: TopojsonLayer
        }, {
            path: '/layer/esrijson',
            component: EsrijsonLayer
        }, {
            path: '/layer/wkt',
            component: WktLayer
        }, {
            path: '/layer/wkb',
            component: WkbLayer
        }, {
            path: '/layer/xml',
            component: XmlLayer
        }, {
            path: '/layer/kml',
            component: KmlLayer
        }, {
            path: '/layer/gml',
            component: GmlLayer
        }, {
            path: '/layer/gpx',
            component: GPXLayer
        },{
            path: '/map/interaction',
            component: MapInteraction
        },{
            path: '/map/draw',
            component: DrawInteraction
        },{
            path: '/map/select',
            component: SelectInteraction
        },{
            path: '/map/modify',
            component: ModifyInteraction
        },{
            path: '/map/snap',
            component: SnapInteraction
        },{
            path: '/map/extent',
            component: ExtentInteraction
        },{
            path: '/map/pointer',
            component: PointerInteraction
        },{
            path: '/map/translate',
            component: TranslateInteraction
        },{
            path: '/map/dragbox',
            component: DragBoxInteraction
        },{
            path: '/map/dragpan',
            component: DragPanInteraction
        },{
            path: '/map/dragdrop',
            component: DragAndDropInteraction
        },{
            path: '/map/keyboardpan',
            component: KeyboardPanInteraction
        },{
            path: '/map/keyboardzoom',
            component: KeyboardZoomInteraction
        },{
            path: '/map/dragrotate',
            component: DragRotateInteraction
        },{
            path: '/map/dragzoom',
            component: DragZoomInteraction
        },{
            path: '/map/mousewheelzoom',
            component: MouseWheelZoomInteraction
        },{
            path: '/map/doubleclickzoom',
            component: DoubleClickZoomInteraction
        },{
            path: '/map/dragrotatezoom',
            component: DragRotateAndZoomInteraction
        },{
            path: '/ogc/wms',
            component: WMS
        },{
            path: '/ogc/wcs',
            component: WCS
        },{
            path: '/ogc/wmts',
            component: WMTS
        },{
            path: '/ogc/wfs',
            component: WFS
        },{
            path: '/filter/bbox',
            component: FilterBbox
        },{
            path: '/filter/contains',
            component: FilterContains
        },{
            path: '/filter/intersects',
            component: FilterIntersects
        },{
            path: '/filter/disjoint',
            component: FilterDisjoint
        },{
            path: '/filter/dwithin',
            component: FilterDwithin
        },{
            path: '/filter/within',
            component: FilterWithin
        },{
            path: '/filter/between',
            component: FilterBetween
        },{
            path: '/filter/during',
            component: FilterDuring
        },{
            path: '/filter/equalTo',
            component: FilterEqualTo
        },{
            path: '/filter/greaterThan',
            component: FilterGreaterThan
        },{
            path: '/filter/isNull',
            component: FilterIsNull
        },{
            path: '/filter/lessThan',
            component: FilterLessThan
        },{
            path: '/filter/like',
            component: FilterLike
        },{
            path: '/filter/and',
            component: FilterAnd
        },{
            path: '/filter/not',
            component: FilterNot
        },{
            path: '/filter/or',
            component: FilterOr
        },{
            path: '/style/style',
            component: VectorStyleLayer
        },{
            path: '/style/geometry',
            component: VectorGeometryLayer
        },{
            path: '/style/fill',
            component: VectorFileLayer
        },{
            path: '/style/icon',
            component: VectorIconLayer
        },{
            path: '/style/text',
            component: VectorTextLayer
        },{
            path: '/style/circle',
            component: VectorCircleLayer
        },{
            path: '/style/stroke',
            component: VectorStrokeLayer
        },{
            path: '/style/regularShape',
            component: VectorRegularShapeLayer2
        },{
            path: '/proj/transform',
            component: ProjectTransform
        },{
            path: '/proj/transform/method',
            component: ProjectTransformMethod
        },{
            path: '/advance/picture',
            component: PictureMarker
        },{
            path: '/advance/popup',
            component: PopupWindow
        },{
            path: '/advance/multi',
            component: MultiView
        },{
            path: '/advance/location',
            component: GeoLocation
        },{
            path: '/advance/heatMap',
            component: HeatMap
        },{
            path: '/advance/sign',
            component: MilitarySignDrawing
        },{
            path: '/canvas/layer',
            component: CanvasTileLayer
        },{
            path: '/canvas/geometry',
            component: CanvasRendererGeometryLayer
        },{
            path: '/canvas/points',
            component: CanvasPointsSpriteLayer
        },{
            path: '/canvas/image',
            component: CanvasRendererImageLayer
        },{
            path: '/webgl/layer',
            component: WebGLTileLayer
        },
        {
            path: '/webgl/style',
            component: WebGLTileStyleLayer
        },
        {
            path: '/webgl/points',
            component: WebGLPointsSpriteLayer
        },
        {
            path: '/project/scatter',
            component: ProjectScatterDiagram
        },
        {
            path: '/project/migration',
            component: ProjectMigrationMap
        },
        {
            path: '/project/air',
            component: ProjectAirQuality
        },
        {
            path: '/project/cesium',
            component: ProjectOlCesium
        },
        {
            path: '/project/wind',
            component: ProjectWindLayer
        },
        {
            path: '/project/wms',
            component: ProjectGeoServerWMS
        },
        {
            path: '/project/wmts',
            component: ProjectGeoServerWMTS
        },
        {
            path: '/project/wfs',
            component: ProjectGeoServerWFS
        },
        {
            path: '/project/intersect',
            component: ProjectIntersectAnalysis
        },
        {
            path: '/project/difference',
            component: ProjectDifferenceAnalysis
        },
        {
            path: '/project/union',
            component: ProjectUnionAnalysis
        },
        {
            path: '/project/buffer',
            component: ProjectGeometryBuffer
        },
        {
            path: '/project/dynamic',
            component: ProjectDynamicBuffer
        },
        {
            path: '/project/frontcover',
            component: ProjectFrontCoverLayer
        },
        {
            path: '/project/backcover',
            component: ProjectBackCoverLayer
        },
        {
            path: '/project/track',
            component: ProjectTrackPlay
        },
        {
            path: '/project/export',
            component: ProjectExportLayer
        },
        {
            path: '/project/pdf',
            component: ProjectExportPDF
        },
        {
            path: '/project/circle',
            component: ProjectDynamicCircle
        },
        {
            path: '/project/kriging',
            component: ProjectKriging
        },
        {
            path: '/project/swipe',
            component: ProjectLayerSwipe
        },
    ]
})